﻿using System;
using System.Windows.Controls;
using System.Windows.Media;

namespace UTable.Core.Objects.Controls.Tabletop
{
    public class UTabletop : UObject
    {
        #region Private Members

        protected Canvas contentCanvas;

        #endregion

        #region Properties

        public Canvas ContentCanvas
        {
            get { return contentCanvas; }
            set { contentCanvas = value; }
        }

        #endregion

        #region Constructors

        public UTabletop(Type type)
        {
            InitializeType(type, typeof(UTabletop));
            ContentCanvas = new Canvas();
            ContentCanvas.Background = new SolidColorBrush(Color.FromRgb(45, 45, 48));
            this.Content = ContentCanvas;
        }

        #endregion
    }
}
